<div class="table-margin fill-height">
	<div class="table-header">
	    <table class="table table-bordered table-header">
	        <thead>
	            <tr>
	                <td class="w5 text-center">
	                    <input type="checkbox" 
	                	       ng-model="master" 
	                	       ng-mousedown="getDataID()" 
	                	       ng-click="selectAll(master, tabVal)"
	                	       >
	                </td>
	                <td class="w5 text-center">序号</td>
	                <td class="w10 text-center">授权服务编码</td>
	                <td class="w10 text-center">服务名称</td>
	                <td class="w10 text-center">服务URL</td>
	                <td class="w10 text-center">授权服务类型</td>
	                <td class="w10 text-center">授权资源类型</td>
	                <td class="w10 text-left">操作</td>
	            </tr>
	        </thead>
	    </table> 
    </div>
    <div class="table-body">
	    <table class="table table-bordered table-header"> 
	        <tbody>
	            <tr ng-repeat="val in tabVal |orderBy:b+a | filter:scope_search" ng-class="{'active':$index%2!=0}">
	                <td class="w5 text-center">
	                    <input type="checkbox" 
	                	       ng-checked="master" 
	                	       ng-mousedown="getDataID()" 
	                	       ng-click="select(val,bool)"
	                	       ng-model="bool" 
	                	       >
	                </td>
	                <td class="w5 text-center">{{ $index+1 }}</td>
	                <td class="w10 text-center">{{ val.scopesCode }}</td>
	                <td class="w10 text-center">{{ val.scopeName }}</td>
	                <td class="w10 text-center">{{ val.scopeUri }}</td>
	                <td class="w10 text-center">{{ val.serviceTypeName }}</td>
	                <td class="w10 text-center">
						<span ng-show="val.scopeType==0">系统资源</span>
						<span ng-show="val.scopeType==1">用户资源</span>
	                </td>
	                <td class="w10 text-center icon-td">
	                   <span class="btn-i" 
	                   		 title="详情" 
	                   		 data-toggle="modal" 
	                   		 data-target="#details"
	                   		 ng-click="details($index)" 
	                   		 >
                            <img width="14px" src="../images/right-product/view.png">
                        </span>
                        <span class="btn-i" 
                        	  title="修改"  
                        	  data-toggle="modal" 
                        	  data-target="#edit" 
                        	  ng-click="edit($index)"   
                        	  >
                            <img width="14px" src="../images/right-product/edit.png">
                        </span>
	                </td>
	            </tr>
	            <tr>
	                <td colspan="12" class="text-center" ng-hide="isNoData">无相关信息</td>
	            </tr>
	        </tbody>
	    </table>
	</div>    
</div>